package com.smarttest.portal.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.smarttest.portal.service.OpenAPIService;
import com.smarttest.portal.beans.InterfaceDetail;
import com.smarttest.portal.refresh.onlinequery.dao.OpenAPIDao;
@Service
public class OpenAPIServiceImpl implements OpenAPIService{
	@Resource
	OpenAPIDao OpenAPIDao;
	@Override
	public List<InterfaceDetail> queryInterface(String searchValue) {
		// TODO Auto-generated method stub
		List<InterfaceDetail> result = OpenAPIDao.getAllInterface(searchValue);
		return result;
	}
	
	 public List<InterfaceDetail> queryInterfaceDetail(int cid){
		List<InterfaceDetail> result = OpenAPIDao.getInterfaceDetail(cid);
		return result;
	 }
}
